#define WAITINIT(filename)	diag_log Format["(%1)[%2.sqf]: %2: %3",diag_tickTime,#filename,_this]; \
	waituntil {X_INIT && X_LOADED && d_mission_functions_compiled}
